import {PluginCommand} from "./PluginCommand";

/**
 * 该类用于自由曲面取点工具的Command层接口实现
 */
class SurfaceDeformCommand extends PluginCommand {
    constructor() {
        super();
    }

    deformCalculate(params,cb){
        if(this.toolQuery){
            this.toolQuery.surfaceDeform(params).then(res => {
                cb(res);
            })
        }
    }
}

const surfaceDeformCommand = new SurfaceDeformCommand();
export {surfaceDeformCommand};